#ifndef __DETECTOR1_H
#define __DETECTOR1_H


/* IRC TAG Define */
#define TAG_USER       11
#define TAG_MODE       12
#define TAG_NICK       13
#define TAG_USERHOST   14
#define TAG_JOIN       15
#define TAG_PING       21
#define TAG_PONG       22
#define TAG_PRIVMSG    31
#define TAG_NOTICE     32
#define TAG_NOTICE_AUTH 33

#undef PDEBUG
#define PDEBUG(fmt, args...) printf("DEBUG:", fmt, ## args)

void detector1(void *);
int is_irc_user_cmd(char *);
int is_irc_notice_from_server(char *);
void init_conn(int , struct sockaddr_in );
#endif
